package com.solute.web.commons.header.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.web.multipart.MultipartFile;

public class UploadOneProblemFormVO {
	private MultipartFile []problemImageFiles;
	private MultipartFile []solutionImageFiles;
	
	@NotNull
	@NotEmpty
	@Size(min=1,max=256)
	private String answer;
	
	@NotNull
	@NotEmpty
	@Size(min=1,max=256)
	private String source;
	
	@NotNull
	@NotEmpty
	@Size(min=1,max=4000)
	private String problem;
	
	@NotNull
	@NotEmpty
	@Size(min=1,max=4000)
	private String solution;
	
	@NotNull
	private String []tags;
	
	public MultipartFile[] getProblemImageFiles() {
		return problemImageFiles;
	}

	public void setProblemImageFiles(MultipartFile[] problemImageFiles) {
		this.problemImageFiles = problemImageFiles;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getProblem() {
		return problem;
	}

	public void setProblem(String problem) {
		this.problem = problem;
	}

	public String getSolution() {
		return solution;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}

	public MultipartFile[] getSolutionImageFiles() {
		return solutionImageFiles;
	}

	public void setSolutionImageFiles(MultipartFile[] solutionImageFiles) {
		this.solutionImageFiles = solutionImageFiles;
	}

	public String[] getTags() {
		return tags;
	}

	public void setTags(String[] tags) {
		this.tags = tags;
	}

}
